* OPEN STATA OUTPUT FILE LOG *

log using "C:\Users\jungy\Dropbox\DISCRIMINATION PROJECT\Organizational Diversity\Statistics\Krause & Park.Authority Differentials.APPENDIX D STATISTICS.08-07-2024.smcl", replace  

  
   

**** APPENDIX D: REPLICATION ANALYSES USING ABSOLUTE AUTHORITY DIFFERENTIAL MEASURE ONLY CONSIDERING SOCIAL-IDENTITY OUT-GROUP AS THE BASIS FOR AUTHORITY DIFFERENTIALS ****






*** ACCESS POST-ESTIMATION DATABASE FOR THE PROJECT: FEVS DATA FROM 2010-2019 AND 'MATCHED' OPM DATA ****


use "C:\Users\jungy\Dropbox\DISCRIMINATION PROJECT\Organizational Diversity\Statistics\2010-2019_DATA FINAL.08-07-2024.post-estimation.dta", replace 

   
   
******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************  

 

   
*** MODEL D1: CONDITIONAL RESPONSES BY GENDER -- GENDER BETWEEN-IDENTITY GROUP STATUS DIFFERENTIAL MODEL: [WOMEN SUPERVISORS WITHIN AGENCY j IN YEAR t / MEN SUPERVISORS WITHIN AGENCY j IN YEAR t] / [WOMEN NON-SUPERVISORS WITHIN AGENCY j IN YEAR t / MEN NON-SUPERVISORS  WITHIN AGENCY j IN YEAR t]  -- CONTROLLING FOR GENDER SUPERVISORY EMPLOYEE IDENTITY GROUP DIFFERENTIAL ***

regress lndiversity2zeroadj  c.ln_ratio_fsup_fsub##i.gender   ln_ratio_fem_tot_men_tot  minority  supervisor  topoffgender_2 lntotworkforce_count  ln_professionals_total_ratio   i.agencyid i.year, vce(cluster agencyid)
*
estat ic
*
** BETWEEN-IDENTITY "IN" GROUP VERSUS "OUT" GROUP STATUS DIFFERENTIAL BETWEEN GENDERED RESPONDENTS **

lincom c.ln_ratio_fsup_fsub
*
*
lincom  1.gender#c.ln_ratio_fsup_fsub
*
*
*
*

   
*** MODEL D2: CONDITIONAL RESPONSES BY RACE/ETHNICITY -- RACIAL/ETHNIC BETWEEN-IDENTITY GROUP STATUS DIFFERENTIAL MODEL: [MINORITY SUPERVISORS WITHIN AGENCY j IN YEAR t / NON-MINORITY SUPERVISORS WITHIN AGENCY j IN YEAR t] / [MINORITY NON-SUPERVISORS WITHIN AGENCY j IN YEAR t / NON-MINORITY NON-SUPERVISORS  WITHIN AGENCY j IN YEAR t] -- CONTROLLING FOR RACIAL/ETHNIC SUPERVISORY EMPLOYEE IDENTITY GROUP DIFFERENTIAL ***

regress  lndiversity2zeroadj  c.ln_ratio_minsup_minsub##i.minority   ln_ratio_min_tot_nmin_tot   gender supervisor  topoffminority_2 lntotworkforce_count  ln_professionals_total_ratio   i.agencyid i.year, vce(cluster agencyid)
*
estat ic
*
** BETWEEN-IDENTITY "IN" GROUP VERSUS "OUT" GROUP STATUS DIFFERENTIAL BETWEEN MINORITY/NON-MINORITY RESPONDENTS **

lincom c.ln_ratio_minsup_minsub
*
*
lincom  1.minority#c.ln_ratio_minsup_minsub
*
*
*
*
*
*

  
*** MODEL D3: CONDITIONAL RESPONSES BY MINORITY WOMEN VERSUS WHITE WOMEN [BASELINE CATEGORY: MEN RESPONDENTS] -- GENDER BETWEEN-IDENTITY GROUP STATUS DIFFERENTIAL MODEL: [WOMEN SUPERVISORS WITHIN AGENCY j IN YEAR t / MEN SUPERVISORS WITHIN AGENCY j IN YEAR t] / [WOMEN NON-SUPERVISORS WITHIN AGENCY j IN YEAR t / MEN NON-SUPERVISORS WITHIN AGENCY j IN YEAR t]  -- CONTROLLING FOR GENDER SUPERVISORY EMPLOYEE IDENTITY GROUP DIFFERENTIAL ***

regress lndiversity2zeroadj  c.ln_ratio_fsup_fsub##i.women_het   ln_ratio_fem_tot_men_tot  minority  supervisor  topoffgender_2 lntotworkforce_count  ln_professionals_total_ratio   i.agencyid i.year, vce(cluster agencyid)
*
estat ic
*
** BETWEEN-IDENTITY "IN" GROUP VERSUS "OUT" GROUP STATUS DIFFERENTIAL BETWEEN GENDERED RESPONDENTS **

lincom c.ln_ratio_fsup_fsub
*
*
lincom  1.women_het#c.ln_ratio_fsup_fsub
*
*
lincom  2.women_het#c.ln_ratio_fsup_fsub
*
*
lincom  2.women_het#c.ln_ratio_fsup_fsub -  1.women_het#c.ln_ratio_fsup_fsub
*
*
*
*


   
*** MODEL D4: CONDITIONAL RESPONSES BY MINORITY WOMEN VERSUS MINORITY MEN [BASELINE CATEGORY: NON-MINORITY RESPONDENTS] -- RACIAL/ETHNIC BETWEEN-IDENTITY GROUP STATUS DIFFERENTIAL MODEL: [MINORITY SUPERVISORS WITHIN AGENCY j IN YEAR t / NON-MINORITY SUPERVISORS WITHIN AGENCY j IN YEAR t] / [MINORITY NON-SUPERVISORS WITHIN AGENCY j IN YEAR t / NON-MINORITY NON-SUPERVISORS WITHIN AGENCY j IN YEAR t] -- CONTROLLING FOR RACIAL/ETHNIC SUPERVISORY EMPLOYEE IDENTITY GROUP DIFFERENTIAL ***

regress  lndiversity2zeroadj  c.ln_ratio_minsup_minsub##i.minority_het   ln_ratio_min_tot_nmin_tot   gender supervisor  topoffminority_2 lntotworkforce_count  ln_professionals_total_ratio   i.agencyid i.year if e(sample), vce(cluster agencyid)
*
estat ic
*
** BETWEEN-IDENTITY "IN" GROUP VERSUS "OUT" GROUP STATUS DIFFERENTIAL BETWEEN MINORITY/NON-MINORITY RESPONDENTS **

lincom c.ln_ratio_minsup_minsub
*
*
lincom  1.minority_het#c.ln_ratio_minsup_minsub
*
*
lincom  2.minority_het#c.ln_ratio_minsup_minsub
*
*
lincom  2.minority_het#c.ln_ratio_minsup_minsub -  1.minority_het#c.ln_ratio_minsup_minsub
*
*
*
*


******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************



   
*** MODEL D5: CONDITIONAL RESPONSES BY GENDER & POSITION --  GENDER WITHIN-IDENTITY 'OUT-GROUP' STATUS DIFFERENTIAL MODEL: [WOMEN SUPERVISORS WITHIN AGENCY j IN YEAR t / WOMEN NON-SUPERVISORS WITHIN AGENCY j IN YEAR t] -- CONTROLLING FOR GENDER SUPERVISORY EMPLOYEE IDENTITY GROUP DIFFERENTIAL ***

regress  lndiversity2zeroadj  c.ln_ratio_fsup_fsub##i.gender##i.supervisor   ln_ratio_fem_tot_men_tot   minority  topoffgender_2 lntotworkforce_count  ln_professionals_total_ratio   i.agencyid i.year, vce(cluster agencyid)
*
estat ic
*
** BY NON-SUPERVISORS RESPONDENT: WITHIN-IDENTITY "OUT" GROUP STATUS DIFFERENTIAL BETWEEN GENDERED RESPONDENTS **

lincom c.ln_ratio_fsup_fsub 
*
*
lincom  1.gender#c.ln_ratio_fsup_fsub

*
*
*
*

** BY SUPERVISOR RESPONDENT: WITHIN-IDENTITY "OUT" GROUP STATUS DIFFERENTIAL BETWEEN GENDERED RESPONDENTS **

lincom c.ln_ratio_fsup_fsub + 1.supervisor#c.ln_ratio_fsup_fsub
*
*
lincom  1.gender#c.ln_ratio_fsup_fsub +  1.gender#1.supervisor#c.ln_ratio_fsup_fsub






*** MODEL D6: CONDITIONAL RESPONSES BY RACE/ETHNICITIY & POSITION -- RACIAL/ETHNIC WITHIN-'OUT-GROUP' STATUS DIFFERENTIAL MODEL: [MINORITY SUPERVISORS WITHIN AGENCY j IN YEAR t / NON-MINORITY NON-SUPERVISORS WITHIN AGENCY j IN YEAR t]  -- CONTROLLING FOR RACIAL/ETHNIC SUPERVISORY EMPLOYEE IDENTITY GROUP DIFFERENTIAL ***

regress lndiversity2zeroadj  c.ln_ratio_minsup_minsub##i.minority##i.supervisor  ln_ratio_min_tot_nmin_tot   gender  topoffminority_2 lntotworkforce_count  ln_professionals_total_ratio   i.agencyid i.year, vce(cluster agencyid)
*
estat ic
*

** BY NON-SUPERVISORS RESPONDENT: WITHIN-IDENTITY "OUT" GROUP STATUS DIFFERENTIAL BETWEEN MINORITY/NON-MINORITY RESPONDENTS **

lincom c.ln_ratio_minsup_minsub
*
*
lincom  1.minority#c.ln_ratio_minsup_minsub

*
*
*
*

** BY SUPERVISOR RESPONDENT: WITHIN-IDENTITY "OUT" GROUP STATUS DIFFERENTIAL BETWEEN MINORITY/NON-MINORITY RESPONDENTS **

lincom c.ln_ratio_minsup_minsub + 1.supervisor#c.ln_ratio_minsup_minsub
*
*
lincom  1.minority#c.ln_ratio_minsup_minsub +  1.minority#1.supervisor#c.ln_ratio_minsup_minsub
*
*
*
* SUPERVISOR - NON-SUPERVISORY DIFFERENCE AMONG MINORITY RESPONDENT DIFFERENCES 
 
lincom  1.minority#c.ln_ratio_minsup_minsub +  1.minority#1.supervisor#c.ln_ratio_minsup_minsub - (1.minority#c.ln_ratio_minsup_minsub)



******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************


   
*** MODEL D7: CONDITIONAL RESPONSES BY GENDER & POSITION -- GENDER BETWEEN-IDENTITY GROUP STATUS DIFFERENTIAL MODEL: [WOMEN SUPERVISORS WITHIN AGENCY j IN YEAR t / MEN SUPERVISORS WITHIN AGENCY j IN YEAR t] / [WOMEN NON-SUPERVISORS WITHIN AGENCY j IN YEAR t / MEN NON-SUPERVISORS WITHIN AGENCY j IN YEAR t] -- CONTROLLING FOR GENDER SUPERVISORY EMPLOYEE IDENTITY GROUP DIFFERENTIAL ***

regress lndiversity2zeroadj  c.ln_ratio_fsup_fsub##i.women_het##i.supervisor   ln_ratio_fem_tot_men_tot   minority   topoffgender_2 lntotworkforce_count  ln_professionals_total_ratio   i.agencyid i.year, vce(cluster agencyid)
*
estat ic
*
** BY NON-SUPERVISORS RESPONDENT: BETWEEN-IDENTITY "IN" GROUP VERSUS "OUT" GROUP STATUS DIFFERENTIAL BETWEEN GENDERED RESPONDENTS **

lincom c.ln_ratio_fsup_fsub
*
*
lincom  1.women_het#c.ln_ratio_fsup_fsub
*
*
lincom  2.women_het#c.ln_ratio_fsup_fsub
*
*
*
lincom 2.women_het#c.ln_ratio_fsup_fsub -  1.women_het#c.ln_ratio_fsup_fsub
*
*
*
*


** BY SUPERVISOR RESPONDENT:BETWEEN-IDENTITY "IN" GROUP VERSUS "OUT" GROUP STATUS DIFFERENTIAL BETWEENGENDERED RESPONDENTS **

lincom c.ln_ratio_fsup_fsub + 1.supervisor#c.ln_ratio_fsup_fsub
*
*
lincom  1.women_het#c.ln_ratio_fsup_fsub +  1.women_het#1.supervisor#c.ln_ratio_fsup_fsub
*
*
lincom  2.women_het#c.ln_ratio_fsup_fsub +  2.women_het#1.supervisor#c.ln_ratio_fsup_fsub
*
*
*
lincom  2.women_het#c.ln_ratio_fsup_fsub +  2.women_het#1.supervisor#c.ln_ratio_fsup_fsub - (1.women_het#c.ln_ratio_fsup_fsub +  1.women_het#1.supervisor#c.ln_ratio_fsup_fsub)



* SUPERVISOR - NON-SUPERVISORY DIFFERENCE AMONG WOMEN RESPONDENT DIFFERENCES [NON-MINORITY WOMEN RESPONDENTS FOLLOWED BY MINORITY WOMEN RESPONDENTS] -- DO NOT PLOT IN GRAPHS [ONLY FOR TEXT]!

lincom  1.women_het#c.ln_ratio_fsup_fsub +  1.women_het#1.supervisor#c.ln_ratio_fsup_fsub  - (1.women_het#c.ln_ratio_fsup_fsub)
*
lincom  2.women_het#c.ln_ratio_fsup_fsub +  2.women_het#1.supervisor#c.ln_ratio_fsup_fsub  - (2.women_het#c.ln_ratio_fsup_fsub)






   
*** MODEL D8: CONDITIONAL RESPONSES BY RACE/ETHNICITY & POSITION -- RACIAL/ETHNIC BETWEEN-IDENTITY GROUP STATUS DIFFERENTIAL MODEL: [MINORITY SUPERVISORS WITHIN AGENCY j IN YEAR t / NON-MINORITY SUPERVISORS WITHIN AGENCY j IN YEAR t] / [MINORITY NON-SUPERVISORS WITHIN AGENCY j IN YEAR t / NON-MINORITY NON-SUPERVISORS WITHIN AGENCY j IN YEAR t] -- CONTROLLING FOR RACIAL/ETHNIC SUPERVISORY EMPLOYEE IDENTITY GROUP DIFFERENTIAL  ***

regress  lndiversity2zeroadj  c.ln_ratio_minsup_minsub##i.minority_het##i.supervisor  ln_ratio_min_tot_nmin_tot   gender  topoffminority_2 lntotworkforce_count  ln_professionals_total_ratio   i.agencyid i.year if e(sample), vce(cluster agencyid)
*
estat ic
*

** BY NON-SUPERVISORS RESPONDENT: BETWEEN-IDENTITY "IN" GROUP VERSUS "OUT" GROUP STATUS DIFFERENTIAL BETWEEN MINORITY/NON-MINORITY RESPONDENTS **

lincom c.ln_ratio_minsup_minsub
*
*
lincom  1.minority_het#c.ln_ratio_minsup_minsub
*
*
lincom  2.minority_het#c.ln_ratio_minsup_minsub
*
*
*
lincom  2.minority_het#c.ln_ratio_minsup_minsub - 1.minority_het#c.ln_ratio_minsup_minsub

*
*
*
*
*


** BY SUPERVISOR RESPONDENT: BETWEEN-IDENTITY "IN" GROUP VERSUS "OUT" GROUP STATUS DIFFERENTIAL BETWEEN MINORITY/NON-MINORITY RESPONDENTS **

lincom c.ln_ratio_minsup_minsub+ 1.supervisor#c.ln_ratio_minsup_minsub
*
*
lincom  1.minority_het#c.ln_ratio_minsup_minsub +  1.minority_het#1.supervisor#c.ln_ratio_minsup_minsub
*
*
lincom  2.minority_het#c.ln_ratio_minsup_minsub +  2.minority_het#1.supervisor#c.ln_ratio_minsup_minsub
*
*
*
lincom  2.minority_het#c.ln_ratio_minsup_minsub +  2.minority_het#1.supervisor#c.ln_ratio_minsup_minsub - (1.minority_het#c.ln_ratio_minsup_minsub +  1.minority_het#1.supervisor#c.ln_ratio_minsup_minsub)
*
*
*
*


* SUPERVISOR - NON-SUPERVISORY DIFFERENCE AMONG MINORITY RESPONDENT DIFFERENCES [MINORITY MEN RESPONDENTS FOLLOWED BY MINORITY WOMEN RESPONDENTS] -- DO NOT PLOT IN GRAPHS [ONLY FOR TEXT]!

lincom  1.minority_het#c.ln_ratio_minsup_minsub +  1.minority_het#1.supervisor#c.ln_ratio_minsup_minsub - (1.minority_het#c.ln_ratio_minsup_minsub)
*
lincom  2.minority_het#c.ln_ratio_minsup_minsub +  2.minority_het#1.supervisor#c.ln_ratio_minsup_minsub - (2.minority_het#c.ln_ratio_minsup_minsub)



clear

*** FIGURE D1: PLOT ELASTICITY MARGINAL EFFECTS FOR MODELS D1 & D2 USING LINCOMS ABOVE FOR EACH MODEL: PATTERN AFTER COMPARABLE SET OF MANUSCRIPT GRAPHICS/FIGURES [FIGURE 1]
import excel "C:\Users\jungy\Dropbox\DISCRIMINATION PROJECT\Organizational Diversity\Statistics\figured1.xlsx", sheet("Sheet1") firstrow
destring, replace

set scheme sj, permanently
graph set window fontface "Century Schoolbook"

twoway (rcap low95 high95 row, vert) (scatter estimates row if group ==1, msymbol(square) mcolor(orange))(scatter estimates row if group ==2, msymbol(circle_hollow) mcolor(orange))(scatter estimates row if group ==3, msymbol(square) mcolor(navy))(scatter estimates row if group ==4, msymbol(circle_hollow) mcolor(navy)), legend(row(1) order(2 "Gender" 4 "Race/Ethnicity") pos(6)) xlabel("", noticks) title("FIGURE D1" "Relationship Between Authority Differentials and D&I Employee Evaluations" "(By Respondent Single Social Identity Group)" "[Replication Analyses Using Alternative AD Measure]", size(medsmall)) ylabel(0(.05)0.15, labsize (small) angle(horizon)) xtitle("Alternative AD Estimates [Differentials by Respondent Single Social Identity Group]" "(Models 1&2)", size(small)) xlabel("", noticks) yline(0, lpattern(dash) lcolor(gs8)) aspect(.5)

clear

*** FIGURE D2: PLOT ELASTICITY MARGINAL EFFECTS FOR MODELS D3 & D4 USING LINCOMS ABOVE FOR EACH MODEL: PATTERN AFTER COMPARABLE SET OF MANUSCRIPT GRAPHICS/FIGURES [FIGURE 2]
import excel "C:\Users\jungy\Dropbox\DISCRIMINATION PROJECT\Organizational Diversity\Statistics\figured2.xlsx", sheet("Sheet1") firstrow
destring, replace

set scheme sj, permanently 
graph set window fontface "Century Schoolbook"

twoway (rcap low95 high95 row, vert) (scatter estimates row if group ==1, msymbol(square) mcolor(orange))(scatter estimates row if group ==2, msymbol(circle_hollow) mcolor(orange)) (scatter estimates row if group ==3, msymbol(diamond_hollow) mcolor(orange))(scatter estimates row if group ==4, msymbol(triangle_hollow) mcolor(orange))(scatter estimates row if group ==5, msymbol(square) mcolor(navy))(scatter estimates row if group ==6, msymbol(circle_hollow) mcolor(navy))(scatter estimates row if group ==7, msymbol(diamond_hollow) mcolor(navy))(scatter estimates row if group ==8, msymbol(triangle_hollow) mcolor(navy)), legend(row(1) order(2 "Gender" 6 "Race/Ethnicity") pos(6)) title("FIGURE D2"  "Relationship Between Authority Differentials and D&I Employee Evaluations" "(By Respondent Intersectional Social Identity Group)" "[Replication Analyses Using Alternative AD Measure]", size(medsmall)) ylabel(-0.05(.05)0.15, labsize (small) angle(horizon)) xtitle("Gender Alternative AD Effects: by Respondent Intersectionality Group   Race/Ethnicity Alternative AD Effects: by Respondent Intersectionality Group", size(vsmall)) xlabel("", noticks) yline(0, lpattern(dash) lcolor(gs8)) aspect(.5)

clear

*** FIGURE D3: PLOT ELASTICITY MARGINAL EFFECTS FOR MODELS D5-D8 USING LINCOMS ABOVE FOR EACH MODEL: PATTERN AFTER COMPARABLE SET OF MANUSCRIPT GRAPHICS/FIGURES  --- NON-SUPERVISOR RESPONDENT ESTIMATES [FIGURE 3]
import excel "C:\Users\jungy\Dropbox\DISCRIMINATION PROJECT\Organizational Diversity\Statistics\figured3.xlsx", sheet("Sheet1") firstrow
destring, replace

set scheme sj, permanently 
graph set window fontface "Century Schoolbook"

twoway (rcap low95 high95 row, vert) (scatter estimates row if group ==1, msymbol(square) mcolor(orange))(scatter estimates row if group ==2, msymbol(square_hollow) mcolor(orange)) (scatter estimates row if group ==3, msymbol(square) mcolor(navy))(scatter estimates row if group ==4, msymbol(square_hollow) mcolor(navy))(scatter estimates row if group ==5, msymbol(square) mcolor(orange))(scatter estimates row if group ==6, msymbol(circle_hollow) mcolor(orange))(scatter estimates row if group ==7, msymbol(diamond_hollow) mcolor(orange))(scatter estimates row if group ==8, msymbol(triangle_hollow) mcolor(orange))(scatter estimates row if group ==9, msymbol(square) mcolor(navy))(scatter estimates row if group ==10, msymbol(circle_hollow) mcolor(navy))(scatter estimates row if group ==11, msymbol(diamond_hollow) mcolor(navy))(scatter estimates row if group ==12, msymbol(triangle_hollow) mcolor(navy)), legend(row(1) order(2 "Gender" 4 "Race/Ethnicity") pos(6)) title("FIGURE D3" "Relationship Between Authority Differentials and D&I Employee Evaluations" "(Non-Supervisory Respondents: Single and Intersectional Social Identity Groups)" "[Replication Analyses Using Alternative AD Measure]", size(medsmall)) ylabel(-0.05(.05)0.15, labsize (small) angle(horizon)) xtitle("Alternative AD Effects: by Respondent Single Identity Group     Alternative AD Effects: by Respondent Intersectionality Group", size(vsmall)) xlabel("", noticks) yline(0, lpattern(dash) lcolor(gs8)) aspect(.5)

clear

*** FIGURE D4: PLOT ELASTICITY MARGINAL EFFECTS FOR MODELS D5-D8 USING LINCOMS ABOVE FOR EACH MODEL: PATTERN AFTER COMPARABLE SET OF MANUSCRIPT GRAPHICS/FIGURES --- SUPERVISOR RESPONDENT ESTIMATES [FIGURE 4] 
import excel "C:\Users\jungy\Dropbox\DISCRIMINATION PROJECT\Organizational Diversity\Statistics\figured4.xlsx", sheet("Sheet1") firstrow
destring, replace
 
set scheme sj, permanently 
graph set window fontface "Century Schoolbook"

twoway (rcap low95 high95 row, vert) (scatter estimates row if group ==1, msymbol(square) mcolor(orange))(scatter estimates row if group ==2, msymbol(square_hollow) mcolor(orange)) (scatter estimates row if group ==3, msymbol(square) mcolor(navy))(scatter estimates row if group ==4, msymbol(square_hollow) mcolor(navy))(scatter estimates row if group ==5, msymbol(square) mcolor(orange))(scatter estimates row if group ==6, msymbol(circle_hollow) mcolor(orange))(scatter estimates row if group ==7, msymbol(diamond_hollow) mcolor(orange))(scatter estimates row if group ==8, msymbol(triangle_hollow) mcolor(orange))(scatter estimates row if group ==9, msymbol(square) mcolor(navy))(scatter estimates row if group ==10, msymbol(circle_hollow) mcolor(navy))(scatter estimates row if group ==11, msymbol(diamond_hollow) mcolor(navy))(scatter estimates row if group ==12, msymbol(triangle_hollow) mcolor(navy)), legend(row(1) order(2 "Gender" 4 "Race/Ethnicity") pos(6)) title("FIGURE D4" "Relationship Between Authority Differentials and D&I Employee Evaluations" "(Supervisor Respondents: Single and Intersectional Social Identity Groups)" "[Replication Analyses Using Alternative AD Measure]", size(medsmall)) ylabel(-0.05(.05)0.2, labsize (small) angle(horizon)) xtitle("Alternative AD Effects: by Respondent Single Identity Group     Alternative AD Effects: by Respondent Intersectionality Group", size(vsmall)) xlabel("", noticks) yline(0, lpattern(dash) lcolor(gs8)) aspect(.5)






******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************

   


log close
